package com.zhonghui.modlules.shop.eshopDto;

import com.zhonghui.common.eshopAnnotation.Query;

public class SystemGroupDataQueryCriteria {
    @Query
    private String groupName;

    public SystemGroupDataQueryCriteria() {
    }

    public String getGroupName() {
        return this.groupName;
    }

    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SystemGroupDataQueryCriteria)) {
            return false;
        } else {
            SystemGroupDataQueryCriteria other = (SystemGroupDataQueryCriteria)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$groupName = this.getGroupName();
                Object other$groupName = other.getGroupName();
                if (this$groupName == null) {
                    if (other$groupName != null) {
                        return false;
                    }
                } else if (!this$groupName.equals(other$groupName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SystemGroupDataQueryCriteria;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $groupName = this.getGroupName();
        result = result * 59 + ($groupName == null ? 43 : $groupName.hashCode());
        return result;
    }

    public String toString() {
        return "SystemGroupDataQueryCriteria(groupName=" + this.getGroupName() + ")";
    }
}
